package com.example.springstudy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springstudy.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    User getUserByName(String name);

    boolean updatePassword(String password, Long userId);
}
